/*
package com.ruoyi.rabbitmq;

import lombok.Data;
import java.io.Serializable;

@Data
public class RabbitMQMessageVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;
    private String content;
    private String sender;
    private int priority; // 消息优先级

    // 默认构造方法
    public RabbitMQMessageVo() {
    }

    // 全参构造方法
    public RabbitMQMessageVo(String id, String content, String sender,int priority) {
        this.id = id;
        this.content = content;
        this.sender = sender;
        this.priority = priority;
    }

    @Override
    public String toString() {
        return "SimpleMessage{" +
                "id='" + id + '\'' +
                ", content='" + content + '\'' +
                ", sender='" + sender + '\'' +
                ", priority=" + priority +
                '}';
    }
}
*/
